//
//  HJMessageFileManager.h
//  KaiChat
//
//  Created by lx on 2023/11/22.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@class HJChatMessageModel, HJChatSessionModel;

@interface HJMessageFileManager : NSObject


@property (nonatomic, copy, nullable, readonly) NSString *rootCacheFinder;

+ (HJMessageFileManager *)shareManager;

+ (NSString *)imagefileFilePathWithSessionId:(NSString *)sessionId fileName:(NSString *)fileName;
+ (NSString *)audiofileFilePathWithSessionId:(NSString *)sessionId fileName:(NSString *)fileName;
+ (NSString *)videofileFilePathWithSessionId:(NSString *)sessionId fileName:(NSString *)fileName;
+ (NSString *)fileFilePathWithSessionId:(NSString *)sessionId fileName:(NSString *)fileName;
+ (NSString *)tempFilePathWithSessionId:(NSString *)sessionId fileName:(NSString *)fileName;

+ (void)deleteFileWithMessageModel:(HJChatMessageModel *)messageModel;
+ (void)deleteFileWithSessionId:(NSString *)sessionId;

@end

NS_ASSUME_NONNULL_END
